package com.example.gmwang.washapplication.utils;

import com.alibaba.fastjson.JSON;

import java.util.HashMap;

/**
 * Created by WZ on 2017/8/1.
 */
public class CommonState {
    public static int Current_Index = 1;//捷信订单跳转到哪个tab
    public static int Current_Index_HB = 1;//花呗订单跳转到哪个tab
    public static int Current_Index_CREDIT = 1;//信用卡订单跳转到哪个tab
    public static String token = "";
    public static String AesKey = "3R391CA8C7BQCA2B";
    public static boolean isOpened = false;//是否设置了手势密码
    public static boolean isCheckVersion = false;//是否检测更新（接口是否请求成功)
    public static boolean isHavePassword = false;//是否记录账号密码
    public static HashMap<String, String> status =
            new HashMap<String, String>();
    private static String status_obj = "{'-9999': '系统异常','-999': '系统异常'," +
            "'351':'该标的已下线'}";
    public static String Current_Bank;//银行卡号

    static {
        status = JSON.parseObject(
                status_obj,
                HashMap.class);
    }
}
